-
Notifications
You must be signed in to change notification settings - Fork 699
chore: update openapi specs #6201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update openapi specs #6201
Conversation
would it be possible to also address this issue in this PR? |
tagging @cylewitruk since #4551 was his idea |
I'll open a separate PR for that! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
pending resolution of the the openapi validation, this seems fine |
@wileyj note that in the latests changes I also moved the validation workflow to |
hmm, i see the reasoning but i think it's better to keep under stacks-core-tests. otherwise, without some extra conditionals checking that the stacks-core-tests job was successful, this step will run every time - even if tests or other steps/jobs are failing. it's not a bad thing necesarily (just adds noise), i just think it's better suited as part of the stacks-core-tests workflow. i'm less concerned that the create-test-cache workflow is gating this - if that fails, openapi validation shouldn't even run. Otherwise, i think the changes still look good - just have to reach consensus on where to run it (along with the composite workflow merge) |
This reverts commit 81ca206.
I moved it back in e858b09 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❌ Your project status has failed because the head coverage (76.08%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #6201 +/- ##
===========================================
- Coverage 76.77% 76.08% -0.69%
===========================================
Files 545 545
Lines 347417 347417
Branches 323 323
===========================================
- Hits 266719 264332 -2387
- Misses 80690 83077 +2387
Partials 8 8 see 272 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with the composite merged and working, i think this one is also ready to go
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
dd838f1
Description
This PR significantly updates and expands the openapi.yaml specification for the Stacks node RPC API. It adds definitions for numerous previously undocumented V2 and V3 endpoints, refactors common parameters into reusable components for consistency, and enhances existing endpoint definitions with more accurate details, schemas, and examples.
Key changes include:
redocly.yaml
configuration has been added, and the entire specification now passes the redocly lint check.Applicable issues
Additional info (benefits, drawbacks, caveats)
Checklist
docs/rpc/openapi.yaml
andrpc-endpoints.md
for v2 endpoints,event-dispatcher.md
for new events)clarity-benchmarking
repobitcoin-tests.yml